@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.el-table th.gutter {
  display: table-cell !important;
}

// main-container global css
.app-container {
  padding: 8px;

  .el-table {
    margin-top: 10px;
    width: 100%;
  }

  .el-aside {
    margin-top: 10px;
    margin-right: 2px;
  }

  .el-main {
    padding: 0px;
  }

  .dialog {
    .el-dialog__body {
      padding-bottom: 0px !important;
      padding-top: 0px !important;
    }
  }

  .box-card {
    .el-card__body {
      padding-left: 5px;
    }
  }

  .category {
    width: 600px;
    margin-left: 10px;

    .el-tree-node__content {
      height: 35px;
    }

  }

  .footer {
    .el-tabs__header {
      margin: 0;
    }

    .el-table {
      margin-top: 0;
    }
    .el-table--border {
      border-top: None;
    }
    .el-tabs__item{
      font-size: 12.8px;
      height: 30px;
      line-height: 30px;
    }
  }

  .bottom {
    padding: 0 20px;
    .el-tabs__header {
      margin: 2px;
    }
    .el-table {
      margin-top: 2px;
    }
    .el-tabs__item{
      font-size: 12.8px;
      height: 30px;
      line-height: 30px;
    }
  }

  .search {
    .el-form-item {
      margin-bottom: 5px;
      .el-form-item__label {
        font-weight: normal;
        font-size:12px;
      }
    }
  }
  // .table-expand {
  //   font-size:0;
  // }

  // .table-expand label {
  //   width: 90px;
  //   color: #99a9bf;
  //   font-size:12px;
  // }

  // .table-expand .el-form-item {
  //   margin-right: 0;
  //   margin-bottom: 0;
  //   span{
  //     font-size:12px!important;
  //   }

  // }

}